package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallCoupon;
import com.project.mall.bean.generator.CskaoyanmallCouponExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallCouponMapper {
    long countByExample(CskaoyanmallCouponExample example);

    int deleteByExample(CskaoyanmallCouponExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallCoupon record);

    int insertSelective(CskaoyanmallCoupon record);

    List<CskaoyanmallCoupon> selectByExample(CskaoyanmallCouponExample example);

    CskaoyanmallCoupon selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallCoupon record, @Param("example") CskaoyanmallCouponExample example);

    int updateByExample(@Param("record") CskaoyanmallCoupon record, @Param("example") CskaoyanmallCouponExample example);

    int updateByPrimaryKeySelective(CskaoyanmallCoupon record);

    int updateByPrimaryKey(CskaoyanmallCoupon record);
}